package com.activiti.flow.model.vo;

import com.activiti.flow.model.entity.UserNode;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author pisory
 * @version 1.0
 * @date 2020/4/5
 */
@Data
public class ProcessDefinitionVO {
    @ApiModelProperty(name = "流程定义Id", example = "Leave_Apply_Key_Process:1:10004")
    private String processDefinitionId;

    @ApiModelProperty(name = "流程定义Key", example = "Leave_Apply_Key_Process")
    private String processDefinitionKey;

    @ApiModelProperty(name = "流程定义的节点用户", example = "[{\"userName\":\"张三\",\"nodeCode\":\"leave_user1_node\"}]")
    private List<UserNode> userNodeList;
}
